﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Agile.Models
{
	/// <summary>
	/// 评测统计表
	/// </summary>
	[Table("ky_test_stat")]
	[Description("评测统计表")]
	public partial class Kyteststat : Entity
	{
		/// <summary>
		/// 测评ID
		/// </summary>	
		[Description("测评ID")]
		public string TestID { get; set; }
		/// <summary>
		/// 测评名称
		/// </summary>	
		[Description("测评名称")]
		public string TestName { get; set; }
		/// <summary>
		/// 统计类型（1、按评分者统计, 2、按打分者统计，3、按测评对象统计）
		/// </summary>	
		[Description("统计类型")]
		public int StatType { get; set; }
		/// <summary>
		/// 统计内容，（
		/// 1、按评分项统计item,不同评分项的评分情况，{item:[{name:"",total:"",target:[],text:[{text:num}]}]},
		/// 2、按人统计，不同人评分统计，{user:[{name:"",total:"",target:[],text:[{text:num}]}]}，
		/// 3、按测评对象统计，不同测评对象统计，{target:[{name:"",total:"", score:[{score:num}]})
		/// </summary>	
		[Description("统计内容")]
		public string Content { get; set; }
		/// <summary>
		/// 创建者id
		/// </summary>	
		[Description("创建者id")]
		public int Iuid { get; set; }
		/// <summary>
		/// 创建者
		/// </summary>	
		[Description("创建者")]
		public string Iuname { get; set; }
	}
}

